]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
theme: Add top padding to unlock-dialog-clock-time
authorUmang Jain <mailumangjain@gmail.com>
Tue, 14 Jan 2020 18:27:02 +0000 (23:57 +0530)
committerFlorian Müllner <florian.muellner@gmail.com>
Wed, 12 Feb 2020 19:29:48 +0000 (19:29 +0000)
The (imaginary) center line for clock time of unlock dialog and the
user avatar should be the same. Since the clock font is 64pt, we need
32pt padding (or 42px).

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/922

data/theme/gnome-shell-sass/widgets/_screen-shield.scss

index 6928be9fb541f5848dc04a807ca463a4fdb0fc9c..9b362a5407f15807437b0532421f19882f9e1988 100644 (file)
@@ -10,6 +10,7 @@
 .unlock-dialog-clock-time {
   font-size: 64pt;
   padding-bottom: 24px;
+  padding-top: 42px;
   font-feature-settings: "tnum";
 }